WooCommerce\PayPalCommerce\Button\Endpoint\AbstractCartEndpoint S

Total Complexity 14
Dependencies 6
Dependents 0
Total lines 169
Lines of code 77
Logical lines of code 29
Comment lines 64
Methods 7
Properties 5

Methods 7

Method Rating Maintainability Complexity Lines of code
handle_request()
S
57 4 16
handle_error()
S
52 3 27
products_from_request()
S
57 2 19
add_products()
S
66 2 9
nonce()
S
81 1 3
handle_data()
S
100 1 0
remove_cart_items()
S
82 1 3